package com.bbex.mapper;

import com.bbex.entity.EmailSendLog;
import com.bbex.sql.build.EmailSendLogBuild;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface EntActivityDao {

@Select(" SELECT\n" +
        "      activity_name AS activityName,\n" +
        "      type,\n" +
        "      active_img AS activeImg,\n" +
        "      path_type AS pathType,\n" +
        "      active_url AS activeUrl,\n" +
        "      attachment_url AS attachmentUrl,\n" +
        "      detail\n" +
        "    FROM\n" +
        "        ent_activity\n" +
        "    WHERE\n" +
        "    STATUS = 1\n" +
        "    AND type IN ( '1')\n" +
        "    ORDER BY update_time DESC")
List<Map> getLunBoImge();
}
